home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Communication / GMC-BBS-260 / InstallScripts < prev    next >
Text File  |  1998-06-24  |  2KB  |  66 lines

  1. .K ""
  2. echo "This script installs the GMC-BBS scripts in the ENV: and ENVARC:"
  3. echo "after checking if they are available. If they are available you"
  4. echo "will be asked if you really want to install them."
  5. echo ""
  6. echo "Dieses Script installiert die GMC-BBS Scripts im ENV: und ENVARC:"
  7. echo "nachdem es überprüft hat, ob diese nicht schon vorhanden sind."
  8. echo "Wenn das der Fall ist, werden Sie gefragt ob Sie wirklich"
  9. echo "diese Installation vornehmen wollen."
  10.  
  11. echo ""
  12. ask "Press Enter to continue - Drücken Sie Enter um fortzufahren"
  13.  
  14. echo ""
  15. echo "checking - Überprüfe ENV:GMC-BBS"
  16. if exists ENV:
  17.   if not exists ENV:GMC-BBS
  18.     echo "The scripts do not exist - Die Scripts existieren noch nicht."
  19.   else
  20.     echo "The directory of the Scripts already exists in the ENV: !"
  21.     echo "Das Verzeichnis der Scripts existiert bereits im ENV: !"
  22.   endif
  23.   echo "Do you want to install the scripts ? [y/N]"
  24.   ask "Wollen Sie die Scripts installieren ? [y/N]"
  25.   if WARN
  26.     echo "Installing the scripts in the ENV:"
  27.     echo "Installiere die Scripts im ENV:"
  28.     if not exists ENV:GMC-BBS
  29.       makedir ENV:GMC-BBS
  30.     endif
  31.     copy scripts/#?.script ENV:GMC-BBS
  32.   else
  33.     echo "The scripts have not been installed !"
  34.     echo "Die Scripts wurden nicht installiert !"
  35.   endif
  36. endif
  37.  
  38. echo ""
  39. echo "checking - Überprüfe ENVARC:GMC-BBS"
  40. if exists ENVARC:
  41.   if not exists ENVARC:GMC-BBS
  42.     echo "The scripts do not exist - Die Scripts existieren noch nicht."
  43.   else
  44.     echo "The directory of the Scripts already exists in the ENVARC: !"
  45.     echo "Das Verzeichnis der Scripts existiert bereits im ENVARC: !"
  46.   endif
  47.   echo "Do you want to install the scripts ? [y/N]"
  48.   ask "Wollen Sie die Scripts installieren ? [y/N]"
  49.   if WARN
  50.     echo "Installing the scripts in the ENVARC:"
  51.     echo "Installiere die Scripts im ENVARC:"
  52.     if not exists ENVARC:GMC-BBS
  53.       makedir ENVARC:GMC-BBS
  54.     endif
  55.     copy scripts/#?.script ENVARC:GMC-BBS
  56.   else
  57.     echo "The scripts have not been installed !"
  58.     echo "Die Scripts wurden nicht installiert !"
  59.   endif
  60. endif
  61.  
  62. echo ""
  63. echo "Finished. Klick on the Close Gadget to get rid of the window."
  64. echo "Fertig. Klicken Sie auf das Close Gadget um das Fenster zu schließen."
  65. endcli
  66.